﻿namespace NlpApp.Model
{
    public enum ExtractType
    {
        Ner,
        Relation,
        Event,
    }

    /// <summary>
    /// paddlenlp提取参数模型
    /// </summary>
    public class NlpExtractModel
    {
        /// <summary>
        /// Gets or sets the prob.最小可信度
        /// </summary>
        /// <value>
        /// The prob.
        /// </value>
        public double Prob { get; set; } = 0.5;

        /// <summary>
        /// The Schema.提取参数 实体抽取["姓名","性别"];关系抽取['法院', {'原告': '委托代理人'}, {'被告': '委托代理人'}] ;事件抽取 {'地震触发词': ['地震强度', '时间', '震中位置', '震源深度']} ;句子级情感倾向分类 情感倾向[正向，负向]
        /// </summary>
        public object Schemas { get; set; }

        /// <summary>
        /// 文本内容
        /// </summary>
        public object Texts { get; set; }
        /// <summary>
        /// Gets or sets the identifier.数据的唯一标识
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        public string Id { get; set; }
    }
}